package io.litchi.common.enums;

import lombok.Getter;

@Getter
public enum  ResultCodeAndMessage {

    SUCCESS(1,"success"),
    FAIL(-1,"fail");
    private final Integer code;

    private final String message;

     ResultCodeAndMessage(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}